<?php
/**
 * CreateTime: 2023/5/31 11:48
 */


use Illuminate\Support\Facades\Route;

Route::get('lletter', [\App\Http\Controllers\MeMediator\MeMediationLetterController::class,'getLawCaseToLetterHash']);

Route::any('doletter/{hash}', [\App\Http\Controllers\MeMediator\MeMediationLetterController::class,'downloadLatter']);

Route::put('latterRead/{hash}', [\App\Http\Controllers\MeMediator\MeMediationLetterController::class,'updateLatterRead']);

/**
 * 短信回调 免登
 */
Route::any('sms_q_callback_v1_err', [\App\Http\Controllers\MeSms\MeSMSQxwgCallbackController::class,'errorCallBack']);
Route::any('sms_q_callback_v1_up', [\App\Http\Controllers\MeSms\MeSMSQxwgCallbackController::class,'upCallBack']);

Route::any('sms_dbc_callback_v1',[\App\Http\Controllers\MeSms\MeSMSQxwgCallbackController::class,'dbcCallBack']);
Route::any('sms_dbc_callback_v1_up',[\App\Http\Controllers\MeSms\MeSMSQxwgCallbackController::class,'dbcUpCallBack']);

/**
 * 话务回调
 */
Route::any('msi_call_back',[\App\Http\Controllers\Sip\MisController::class,'callBack']);

Route::any('msi_list',[\App\Http\Controllers\Sip\MisController::class,'getDeviceInfo']);
Route::any('msi_ext_info',[\App\Http\Controllers\Sip\MisController::class,'getExtInfo']);
Route::any('msi_ext_call',[\App\Http\Controllers\Sip\MisController::class,'callPhone']);
Route::any('get_msi_status',[\App\Http\Controllers\Sip\MisController::class,'getMisCallStatus']);
Route::any('msi_case_log',[\App\Http\Controllers\Sip\MisController::class,'getCaseWhLog']);
Route::any('bindMsi',[\App\Http\Controllers\Sip\MisController::class,'bindMsi']);
Route::any('unlockMsi',[\App\Http\Controllers\Sip\MisController::class,'unlockMsi']);
Route::any('msi_test',[\App\Http\Controllers\Sip\MisController::class,'test']);

